package com.ygq;

import DTO.AddChooseDTO;
import DTO.PageChooseQuestionDTO;
import DTO.UpdateChooseQuestionDTO;
import VO.ChooseQuestionVO;
import result.PageResult;
import result.Result;

import java.util.List;

public interface ChooseQuestionService {

    /**
     * 选择题分页查询
     * @param pageChooseQuestionDTO
     * @return
     */
    PageResult page(PageChooseQuestionDTO pageChooseQuestionDTO);

    /*
    添加选择题
     */
    void addChoose(AddChooseDTO addChooseDTO);

    /**
     * 修改选择题
     * @param updateChooseQuestionDTO
     */
    Integer updateChoose(UpdateChooseQuestionDTO updateChooseQuestionDTO);

    /**
     * 删除选择题
     * @param id
     */
    Integer deleteById(Integer id);
}
